﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Principal;
using XCommunity.Data;

namespace XCommunity.Users
{
  public static class UserProfiler
  {

    private static readonly ProfilerDataProvider DataProvider = new ProfilerDataProvider();


    private static IIdentity CurrentAccount
    {
      get { return CommunityContext.CurrentContext.CurrentAccount; }
    }


    public static int[] GetAttachedTopics()
    {
      return DataProvider.GetAttachedTopics( CurrentAccount );
    }

    public static int[] GetLaunchedTopics()
    {
      return DataProvider.GetLaunchedTopics( CurrentAccount );
    }
  }
}
